Analysis on Ford-GoBike Systems¶

by Chukwudi Okereafor¶

Investigation Overview¶

In this investigation, I wanted to look at the characteristics of these users to know the type that takes longer trips and when. I focused on the user_type, the member_age, hour_of_day and day_of_week.¶

Dataset Overview¶

This data set contains information of over 170000 rides taken from one station to another in San Francisco Bay area, with over 4000 bikes used. The attributes included duration (in seconds), user_type, start_time, end time, as well as additional information such as bike_id, start_station (id, name, longitude and latitude),end station (id, name, longitude and latitude), member_birth_year, and member_gender. Rows with missing values were dropped and 3 features were created (hour_of_day, day_of_week and member_age) from start_time and member_birth_yea`.¶

The distribution of trip duration and member age¶

The duration in the dataset take on a very large range of values, from 60 seconds at the lowest to 84548 seconds at the highest for duration. The member_age from 21 years to 144 years for age. After removing outliers from both features and plotted on a logarithmic scale, the distribution of bike ride duration look more like normal distribution with peak at little less than 550 seconds.¶

Proportion of user types on all bike trips taken¶

Majority of the bike users are Subscribers (90.7%) and Customers (for those who do not subscribe) were 9.3%.¶

Bikes rides vs time_of_day and day _of_week¶

Below, we see that both subscribers and customers take longer trips during weekend than weekdays. Subscribers take most of their trips around 7-9am (peak at 8am) and 4-6pm (peak at 5pm), typical commute hours. They are probably commuters to work/school.¶

Relationship between duration and age with the the days of the week.¶

Bike rides on weekends (Sat-Sun) have longer trip durations as compared to bike rides on other weekdays (Mon-Fri) and on average, users who are ‘Customer’ have longer bike trip durations ascompared to users who are ‘Subscriber’. Also, Bikers on weekdays (Mon-Fri) tend to be older than bikers on weekends(Sat-Sun).¶

Female bikers mostly like to take their trip around the city of San Jose in California. Unknown gender ride to and fro, between San Francisco and Oakland. Also, from the map below, the male gender seemed to be overshadowed by the female and other gender in both San Francisco and San Jose. Although the male are ht could be that these male riders have a very special location in San Francisco and San Jose where they ride their bikes.¶